package com.zzyl.nursing.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 新增预约接收数据
 *
 * @author I:P Masquerenaʚїɞ
 * @date 2025/6/9
 */
@Data
@ApiModel("新增预约接收数据")
public class ReservationDto {
    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("预约人姓名")
    private String name;

    @ApiModelProperty("预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @ApiModelProperty("预约类型")
    private Integer type;

    @ApiModelProperty("访客姓名")
    private String visitor;
}
